package org.ykhl.handlers.dao;

import java.util.concurrent.TimeUnit;

/**
 * Created by zkf on 5/6/16.
 */
public class Request {
    private String authId;
    private String fid;
    private String version;
    private String deviceSign;
    private String ruleName;
    private String content;
    private Long timeout = 150l;
    private TimeUnit timeUnit = TimeUnit.SECONDS;
    private String machineID;

    @Override
    public String toString() {
        return "Request{" +
                "authId='" + authId + '\'' +
                ", fid='" + fid + '\'' +
                ", version='" + version + '\'' +
                ", deviceSign='" + deviceSign + '\'' +
                ", ruleName='" + ruleName + '\'' +
                ", content='" + content + '\'' +
                ", machineID='" + machineID + '\'' +
                ", timeout=" + timeout +
                ", timeUnit=" + timeUnit +
                '}';
    }

    public Long getTimeout() {
        return timeout;
    }

    public void setTimeout(Long timeout) {
        this.timeout = timeout;
    }

    public TimeUnit getTimeUnit() {
        return timeUnit;
    }

    public void setTimeUnit(TimeUnit timeUnit) {
        this.timeUnit = timeUnit;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getMachineID() {
        return machineID;
    }

    public void setMachineID(String machineID) {
        this.machineID = machineID;
    }

    public String getAuthId() {
        return authId;
    }

    public void setAuthId(String authId) {
        this.authId = authId;
    }

    public String getFid() {
        return fid;
    }

    public void setFid(String fid) {
        this.fid = fid;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getDeviceSign() {
        return deviceSign;
    }

    public void setDeviceSign(String deviceSign) {
        this.deviceSign = deviceSign;
    }

    public String getRuleName() {
        return ruleName;
    }

    public void setRuleName(String ruleName) {
        this.ruleName = ruleName;
    }
}
